package org.acme.hibernate.orm.panache;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.POST;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.PathParam;
import org.eclipse.microprofile.rest.client.annotation.ClientHeaderParam;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;

@Path("/finance-backend/v1.0.0/petty-project")
@RegisterRestClient(configKey = "petty-api")
@ClientHeaderParam(name = "appId", value = "xiaodai")
public interface PettyService {


    @POST
    @Path("page")
    Object get(Object data);

    @GET
    @Path("/getAcceptancePhase/{id}")
    Object getAcceptancePhase(@PathParam("id") String id);

}
